<template>
  <div>
    <div id="nav">
      <router-link to="/index_m">
        <div class="navOne">
          <img src="../assets/images/logoNav-1.png">
          <div>
            首页
          </div>
        </div>
      </router-link>
      <router-link to="/city_m">
        <div class="navOne">
          <img src="../assets/images/logoNav-2.png">
          <div>
            城市主题
          </div>
        </div>
      </router-link>
      <router-link to="/phone_m" class="freePhone">
        <div class="navOne">
          <div>
            <img src="../assets/images/logoNav-0.png">
          </div>
          <p>免费电话</p>
        </div>
      </router-link>
      <router-link to="/call_m">
        <div class="navOne">
          <img src="../assets/images/logoNav-3.png">
          <div>
            在线客服
          </div>
        </div>
      </router-link>
      <router-link to="/mine_m">
        <div class="navOne">
          <img src="../assets/images/logoNav-4.png">
          <div>
            我的
          </div>
        </div>
      </router-link>
    </div>
    <router-view/>
  </div>
</template>

<script>
export default {};
</script>


<style lang="less" scoped>
#nav {
  font-size: 14px;
  border-top: 1px solid #d9d9d9;
  width: 100%;
  height: 70px;
  background: #fff;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  .navOne {
    img {
      margin-top: 10px;
      margin-bottom: 10px;
      width: 30px;
    }
    color: #747474;
    text-align: center;
  }
}
.freePhone {
  .navOne {
    position: relative;
    div {
      z-index: 999;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border-top: 1px solid #d9d9d9;
      background-color: #fff;
      position: absolute;
      top: -90px;
      img {
        width: 60px !important;
      }
    }
    p {
      width: 80px;
      text-align: center;
      margin-top: 50px;
    }
  }
}
</style>
